﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SanFranciscoModel.Curso;

namespace SanFrancisco
{
    public partial class ReporteCursosTodos : Form
    {
        public ReporteCursosTodos()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void ReporteCursosTodos_Load(object sender, EventArgs e)
        {
            CursoDataContext d = new CursoDataContext();
            gridReporte.DataSource = d.CursosTodos();
        }
    }
}
